package com.lagou.xm.io.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * @author XM, Email is huangwei_xm@163.com
 * @ClassName Configuration
 * @Package com.lagou.xm.io.pojo
 * @Description 配置信息
 * @Copyright: 训练营
 * @since 2020/9/24 22:04
 */
public class Configuration {

    /**
     * 数据源
     */
    private DataSource dataSource;
    /**
     * 解析Mapper.xml文件后存储的信息
     */
    private Map<String, MappedStatement> sqlStatementMap = new HashMap<String, MappedStatement>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MappedStatement> getSqlStatementMap() {
        return sqlStatementMap;
    }

    public void setSqlStatementMap(Map<String, MappedStatement> sqlStatementMap) {
        this.sqlStatementMap = sqlStatementMap;
    }
}

